home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / dump100.lbr / dump100.doc < prev   
Text File  |  2011-01-30  |  1KB  |  21 lines

  1. DUMP100.COM (which I call Q.COM) is a simple program to dump the first 100
  2. bytes of memory on a PC.  It also shows the contents of the registers.
  3.  
  4. The program is useful to see how PC-DOS formats filenames, or more generally,
  5. the command line, into the default File Control Blocks at 5ch and 6ch, and
  6. into the temporary buffer at 80h.  Thus if you were wanting to write an
  7. assembler program to do some function, and wanted to know how the possible
  8. operands looked at 80h, and how invalid operands looked (like keying in the
  9. program name with no operands, or keying it in with a / then the operands (no
  10. space), you can see just how it looks.
  11.  
  12. The register dump is also useful because it shows how much memory you have
  13. tied up in your system for device drivers, etc.  For example, if you want to
  14. know how much room a new device driver taks, type in Q (or dump100 if you
  15. haven't renamed it), note the value of CS.  Then load the device driver, (i.e.
  16. "dosedit" for example), then type Q again - the difference between the new CS
  17. and the old one is the number of paragraphs (16-byte chunks) the device driver
  18. took up.
  19.  
  20. 09/22/84 by Ward Christensen
  21.